<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <h1>发送post请求</h1>
    <a href="/?name=张三&age=20">点击</a>
    <!-- method是post -->
    <form action="/postdata" method="post">
      姓名是: <input type="text" name="username" /><br />
      年龄是： <input type="text" name="age" /><br />
      <input type="submit" value="提交" />
    </form>
  </body>
</html>
